package model

import "github.com/jinzhu/gorm"

type Drawusers struct {
	gorm.Model
	Openid string `gorm:"unique;not null"`
	Chou int `gorm:"default:'0'"`
	Sui1 int `gorm:"default:'0'"`
	Sui2 int `gorm:"default:'0'"`
	Sui3 int `gorm:"default:'0'"`
	Sui4 int `gorm:"default:'0'"`
	Sui5 int `gorm:"default:'0'"`
	Sui6 int `gorm:"default:'0'"`
	Sui7 int `gorm:"default:'0'"`
	Sui8 int `gorm:"default:'0'"`
	Sui9 int `gorm:"default:'0'"`
	Nickname string `gorm:" type:varchar(500)"`
	Picture string `gorm:" type:varchar(500)"`
}


type Candidatedogs struct {
	gorm.Model
	Sid string `gorm:"not null;unique"`
	Nickname string `gorm:"type:varchar(500)"`
	Picture string `gorm:"type:varchar(500)"`
}

type Choujiangtokens struct{
	gorm.Model
	Tokens string `gorm:"type:varchar(500)"`
}

type Luckydogs struct {
	gorm.Model
	Sid string `gorm:"not null;unique"`
	Thing int `gorm:"not null;default:'0'"`
	Nickname string `gorm:" type:varchar(500)"`
	Picture string `gorm:" type:varchar(500)"`
}

type Dogsinfor struct {
	gorm.Model
	Sid string `gorm:"not null;unique"`
	Thing int `gorm:"not null;default:'0'"`
	Realname string `gorm:"varchar(50);not null"`
	Xuehao string `gorm:"varchar(50);not null"`
	Tele string `gorm:"varchar(50);not null"`

}